<!--<?
include L::getHtmlTpl('/html/head.html');
?>-->
<div class="row">
    <div class="col col-md-offset-4 col-md-4">
        <form method="post" id="myform" class="form-horizontal" enctype="multipart/form-data">
            
            <div class="form-group">
                <label class="col-md-3 control-label">账号名称:</label>
                <div class="col-md-9 padding-left-0">
                    <input type="text" class="form-control jsSearchInput" name="account" _value="empty($this->account) ? '' : $this->account" _="empty($this->account) ? '' : 'readonly'">
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">应用ID:</label>
                <div class="col-md-9 padding-left-0">
                    <input type="text" class="form-control jsSearchInput" name="appKey" _value="empty($this->appKey) ? '' : $this->appKey"  >
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">应用密钥:</label>
                <div class="col-md-9 padding-left-0">
                    <input type="text" class="form-control jsSearchInput" name="appSecret" _value="empty($this->appSecret) ? '' : $this->appSecret"  >
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">访问令牌:</label>
                <div class="col-md-9 padding-left-0">
                    <input type="text" class="form-control jsSearchInput" name="accessToken" _value="empty($this->accessToken) ? '' : $this->accessToken"  >
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">刷新令牌:</label>
                <div class="col-md-9 padding-left-0">
                    <input type="text" class="form-control jsSearchInput" name="refreshToken" _value="empty($this->refreshToken) ? '' : $this->refreshToken"  >
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">失效时间:</label>
                <div class="col-md-9 padding-left-0">
                    <input type="text" class="form-control wDateInput readonly-bg" readonly="readonly" name="invalidDate" _value="empty($this->invalidDate) ? '2000-01-01 00:00:00' : $this->invalidDate"  >
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">状态:</label>
                <div class="col-md-9 padding-left-0">
                    <select class="form-control jsSearchInput" name="state">
                        <option value="">请选择</option>
                        <option value="0" _="empty($this->state) ? 'selected' : ''">开启</option>
                        <option value="1" _="empty($this->state) ? '' : 'selected'">关闭</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">账号类型:</label>
                <div class="col-md-9 padding-left-0">
                    <select class="form-control jsSearchInput" name="type">
                        <option value="">请选择</option>
                        <!--<? foreach ($this->typeAy as $k => $v){ ?>-->
                        <option _value="$k" _="!empty($this->type) && $this->type == $k ? 'selected' : ''"><!--<? echo $v; ?>--></option>
                        <!--<? }?>-->
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">添加时间:</label>
                <div class="col-md-9 padding-left-0">
                    <input type="text" class="form-control wDateInput readonly-bg" readonly="readonly" name="addDate" _value="empty($this->addDate) ? '2000-01-01 00:00:00' : $this->addDate"  >
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label">接口返回的数据:</label>
                <div class="col-md-9 padding-left-0">
                    <input type="text" class="form-control jsSearchInput" name="data" _value="empty($this->data) ? '' : $this->data"  >
                </div>
            </div>
        </form>

    </div>
</div>
<script _src="ROOT_URL.'/view/js/base.js'"></script>
<script _src="ROOT_URL.'/view/js/vsAccount.js'"></script>

